﻿// -----------------------------------------------------------------------
// <copyright file=DmKhoBusiness company="">
// TODO: dangppsoft@gmail.com
// </copyright>
// -----------------------------------------------------------------------
namespace ManagerClinic.Core.Business
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using ManagerClinic.Core.Common;
    using ManagerClinic.Core.DataAccess;

    public class DmKhoBusiness
    {
        DmKhoDataAccess objDa = null;

        public DmKhoBusiness()
        {
            objDa = new DmKhoDataAccess();
        }

        public bool InsertDmKho(DmKhoEntity obj)
        {
            return objDa.InsertDmKho(obj);
        }

        public bool EditDmKho(DmKhoEntity obj)
        {
            return objDa.EditDmKho(obj);
        }

        public bool DeleteDmKho(string maKho)
        {
            return objDa.DeleteDmKho(maKho);
        }

        public DmKhoEntity GetDmKho(string maKho)
        {
            return objDa.GetDmKho(maKho);
        }

        public IList<DmKhoEntity> GetDmKhoList()
        {
            return objDa.GetDmKhoList();
        }

    }
}